<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:honorato="http://java.sun.com/jsf/composite/honorato">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>#{msgbundle['system.name']}</title>
	<h:outputStylesheet library="default" name="css/style.css" />
</h:head>

<h:body
	style="background-image:url('../resources/default/images/backGroundGreen.jpg');height:100%;margin:0px;">
	<h:form id="generalPageForm">
	
		<h:panelGroup id="generalPage" layout="block"
			style="float:left;width:98%;align:center;padding:15px 5px 0px 20px">
			<h:panelGroup layout="block" style="float:left;width:25%;">
				<h:panelGrid>
					<h:column>
						<h:outputLabel styleClass="titleSistem"
							value="#{msgbundle['system.name']}" />
						<h3>
							<h:outputText
								value="#{msgbundle['system.buttom.positive.label']}" />
						</h3>
					</h:column>
				</h:panelGrid>
			</h:panelGroup>

			<h:panelGroup layout="block" style="float:left;width:60%;">
				<h:panelGrid style="width:60%;">
				<br/>
				<h:commandLink action="/application/sample/sampleInsert.jsf"  value="Teste" />
				<br/>
				<h:commandLink actionListener="/application/userInsert.jsf"  value="User" />
				<br/>
										
			Corpo</h:panelGrid>
			</h:panelGroup>
			<h:panelGroup layout="block" style="float:left;width:10%;">
				<ui:include src="/application/cockPit.xhtml"/>
			</h:panelGroup>
		</h:panelGroup>


		<p:dialog id="panelEdit" visible="#{appSessionBean.loggedUser.changePassword.code eq constants.getYes()}" widgetVar="dlgChangePassword"
			resizable="false" closable="false" showHeader="false"
			position="center" modal="true" showEffect="clip" hideEffect="fold">
			<ui:include src="/public/changePassword.xhtml"/>
		</p:dialog>

	</h:form>
</h:body>
</html>
